<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
td{text-align: center;height:50px;border:1px solid white;}
a{text-decoration: none;color:red;font-weight: bold;}
td{background-color: #ececec;}
.one{background-color: rgb(100,162,189);color:white;}
table{width:80%;margin: 0 auto;}
</style>
</head>
<body>
<table cellpadding="0" cellspacing="0" >
            <tr>
				<td class="one">网站动态标题</td>	
				<td>发布时间</td>	          
				<td>操作</td>
              </tr>
             <c:forEach items="${notice}" var="n">
	         <tr>
	            <td class="one">${n.title }</td>  
	            <td>${n.uptime }</td>           
	            <td>
	                <a href="deleteNoticeByID?nid=${n.nid}">删除</a> <a href="selectNoticeByID1?nid=${n.nid}" >编辑</a> 
	            </td>
	         </tr>
	    </c:forEach>
         </tbody>
</table>
</body>
</html>
